package com.wsjzzcbq.qianyuan.sys.controller;

import com.wsjzzcbq.qianyuan.common.bean.R;
import com.wsjzzcbq.qianyuan.sys.service.SysPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * SysPermissionController
 *
 * @author wsjz
 * @date 2022/03/10
 */
@RequestMapping("/sys/permission")
@RestController
public class SysPermissionController {

    @Autowired
    private SysPermissionService sysPermissionService;

    @PostMapping("/menu")
    public R<?> menu() {
        return sysPermissionService.menu();
    }
}
